//
//  CommonWebViewProtocol.h
//  packetwallet
//
//  Created by 张冬 on 15/10/21.
//  Copyright © 2015年 Hangzhou TaiXuan Network Technology Co., Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol CommonWebViewProtocol <NSObject>

@property (nonatomic, readonly, copy)   NSURL *URL;
@property (nonatomic, readonly, copy)   NSString *title;

@property (nonatomic, readonly)         UIView *baseView;

- (void)setWebViewDelegate:(id)delegate;

- (void)scalesPageToFit:(BOOL)isFit;

- (void)loadReuqestWithString:(NSString *)string;
// 清除缓存
- (void)clearCacheIfNeed;

@end
